<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
response.sendRedirect("Homepage");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Project Eureka</title>
</head>

<body>
<p>Project Eureka</p>
    


<c:if test="${empty user }">
	<p><a href="Account/Login">Login</a></p>
</c:if>
<c:if test="${not empty user }">
	<p>${fn:escapeXml(user) }</p>
	<p><a href="Me">Personal Center</a></p>
	<p><a href="Books/Search">Search Book</a></p>
	<p><a href="Account/Logout">Logout</a></p>
</c:if>
</body>
</html>